DevJourney

C/Odd numbers 1 to 50/FOR/ODD1TO50.C

//Program to print odd numbers from 1 to 50
#include<stdio.h>
#include<conio.h>
int main()
{
	int i;
	
	for(i=1;i<=50;i=i+2)
		{
			printf("%d ",i);
		}
	getch();
    return 0;
}
View on GitHub